package com.zc.microservice.system.api;

import com.zc.commons.http.entity.Response;
import com.zc.commons.http.vo.PageResult;
import com.zc.rpc.interceptor.feign.FeignHeaderTokenInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * *
 *
 * @author zcj
 * @version 1.0.0
 * @date 2022/6/16 15:49
 */
@FeignClient(name = "system-manager", path = "/auth", configuration = FeignHeaderTokenInterceptor.class)
public interface RoleAndAuthApi {

    /**
     * feign测试
     *
     * @return
     */
    @GetMapping(value = "/test")
    Response<PageResult<String>> test();

}
